home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / intdsp21.zip / INTERUPT.DOC next >
Text File  |  1993-05-01  |  4KB  |  88 lines

  1.  
  2.                   ┌────────────────────────────────────────┐
  3.                   │        INTERRUPT DISPATCHER 2.1        │
  4.                   │ (C) Copyright 1991 by Kevin Dahlhausen │
  5.                   └────────────────────────────────────────┘
  6.  
  7.  
  8.         Interrupt Dispatcher is a utility that allows you to 
  9.    call DOS and BIOS interrupts and view the results in binary, hex, 
  10.    and decimal. There is also a pop-up window that may be used as a
  11.    data buffer.
  12.  
  13.  
  14.        All you need to do is set up the the required registers and press 
  15.    F1. The program will generate the interrupt and display the resulting 
  16.    values of the registers in hexadecimal, decimal and binary notation. 
  17.    Pressing F2 exits the program.  Certain interrupts require pairs of 
  18.    registers to point to data structures in memory. This is accomplished 
  19.    by pressing F3 to bring up the data buffer window. Enter the desired 
  20.    data, following the on-screen help, and press ESC to return to the 
  21.    register screen. Move to the desired register and press F4. The segment 
  22.    or offset of the data buffer will be entered into the register depending 
  23.    on the appropriate usage of that register.
  24.  
  25.  
  26.  
  27.  
  28.                    WHAT ARE DOS AND BIOS INTERRUPTS?
  29.  
  30.         The word 'interrupts' refers to the DOS and BIOS software
  31.    interrupts in the following discussion. The interrupts are a set of
  32.    built in routines that talk to the the computer hardware on a basic
  33.    level.  Their purpose is to shield the programmer from the minor 
  34.    hardware variations among different machines.  The interrupt 
  35.    structure is one reason we can run software for the IBM PC on so 
  36.    many compatibles.  The interrupts perform services such as getting or 
  37.    setting the system date/time, creation of files, retrieving 
  38.    information about the equipment installed on the computer, etc.
  39.  
  40.  
  41.         For example, function 30h of interrupt 21h returns the version of
  42.    DOS running running on the machine. To find out what version your
  43.    computer is using, run Interrupt Dispatcher and set the following
  44.    parameters:
  45.  
  46.                            INT  = 21
  47.                            AX   = 3000
  48.  
  49.         Now press F1.  The display will change.  The major version number
  50.    will be returned in the L part of AX (look at the decimal version).  The
  51.    minor version will be returned in Ah. So if the value 0A03 (this is hex
  52.    number) is returned in the AX field, you would be running DOS version 3.10
  53.  
  54.  
  55.    WARNING:    Be carefull when using this program.  There are
  56.                interrupts that write to the disk drives. You 
  57.            should be safe if you work from a reference 
  58.            manual, but don't just pick values at random.
  59.  
  60.  
  61.  
  62.                                HISTORY
  63.  
  64.         A friend  bought "The Programmer's PC Sourcebook" (Thom
  65.       Hogan, Microsoft Press).  Among other things, this book contains
  66.       a listing of the software interrupts and their functions. Initially
  67.       we wrote short DEBUG programs to learn about them. This method was
  68.       crude and took time to set up each interrupt. A program designed for
  69.       the sole purpose of experimenting (playing?) with the interrupts
  70.       would be much more convenient. Thus was the birth of Interrupt 
  71.       Dispatcher.
  72.  
  73.  
  74.         This program is distributed as Freeware. No fee, other than a 
  75.       nominal disk and handling fee may be charged for it.  Persons
  76.       intrerested in distributing this program with a commercial
  77.       package may contact me as listed below. 
  78.  
  79.  
  80.       I welcome any comments regarding Interrupt Dispatcher, and can
  81.       be reached at:
  82.  
  83.       AP096@CWNS16.INS.CWRU.EDU            Kevin Dahlhausen
  84.                         8627 Scarlet Oak Lane
  85.                         Parma, Ohio 44130
  86.  
  87.  
  88.